<template>
    <view class="dispaly-col-center">
        <image src="/static/image/k2.png" />
        <view class="text">{{ props.text }}</view>
    </view>

</template>

<script setup lang="ts">
interface DataType {
    text: string,
}

const props = withDefaults(defineProps<DataType>(), {
    text: '暂无数据',
})
</script>
<style lang="scss" scoped>
image {
    width: 500rpx;
    height: 500rpx;
}

.text {
    color: #717171;
}
</style>